d9884892bca1e489fd07bd779ba6f4aa4f501129,src/dr/inference/operators/ScaleOperator.java,ScaleOperator,doOperation,#,87
Before Change
}
final double newValue = scale * oldValue;
if (newValue < bounds.getLowerLimit(index) || newValue > bounds.getUpperLimit(index)) {
// throw new OperatorFailedException("proposed value outside boundaries");
// this used to throw an exception
return Double.NEGATIVE_INFINITY;
After Change
}
final double oldValue = variable.getValue(index);
final double offset = bounds.getLowerLimit(index);
if (oldValue == 0) {
Logger.getLogger("dr.inference").severe("The " + ScaleOperatorParser.SCALE_OPERATOR +